package com.example.siyun.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;
/**
 * @Auther: 全
 * @Date: 2022/10/2 19:54
 * @Description: 客服管理表
 */
public class CustomerManage {
    private int id;
    /* 发送人 */
    private String sendpeople;
    /* 接收人 */
    private String tackoverpeople;
    /* 消息内容 */
    private String messagecontent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    /* 发送时间 */
    private Timestamp sendtime;
    /* 发送类型 */
    private int senttype;
    /* 标记 */
    private int mark;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSendpeople() {
        return sendpeople;
    }

    public void setSendpeople(String sendpeople) {
        this.sendpeople = sendpeople;
    }

    public String getTackoverpeople() {
        return tackoverpeople;
    }

    public void setTackoverpeople(String tackoverpeople) {
        this.tackoverpeople = tackoverpeople;
    }

    public String getMessagecontent() {
        return messagecontent;
    }

    public void setMessagecontent(String messagecontent) {
        this.messagecontent = messagecontent;
    }

    public Timestamp getSendtime() {
        return sendtime;
    }

    public void setSendtime(Timestamp sendtime) {
        this.sendtime = sendtime;
    }

    public int getSenttype() {
        return senttype;
    }

    public void setSenttype(int senttype) {
        this.senttype = senttype;
    }

    public int getMark() {
        return mark;
    }

    public void setMark(int mark) {
        this.mark = mark;
    }

    @Override
    public String toString() {
        return "CustomerManage{" +
                "id=" + id +
                ", sendpeople='" + sendpeople + '\'' +
                ", tackoverpeople='" + tackoverpeople + '\'' +
                ", messagecontent='" + messagecontent + '\'' +
                ", sendtime=" + sendtime +
                ", senttype=" + senttype +
                ", mark=" + mark +
                '}';
    }
}
